home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
ubm_102.arc
/
UBM.CFG
< prev
next >
Wrap
Text File
|
1990-12-30
|
8KB
|
285 lines
; UBM - UserBase Manager configuration file. Version 1.02
; Copyright (c) Joep Vullinghs, 1990-1991. All Rights Reserved.
;
; This file consists of two parts. The first part is the global part
; and the second contains definitions (see manual).
; I've included five different examples of definitions, if you need
; more definitions, have a look at EXAMPLES.DOC. That file contains
; more examples.
;
USE HOMEPHONE
; use the HomePhone-field in the user-records to store a counter.
; Everytime UBM runs, it will decrease this number by 1. Useful for
; expiring memberships. ONLY if this statement is commented out, you
; can use the field to store a phonenumber.
USE DATAPHONE
; Similar USE HOMEPHONE, but for the DataPhone-field.
SYSOP Joep Vullinghs
; The name to put in FROM-field when writing a message to a user.
BOARD 1
; The messages UBM writes must be dropped in message area 1.
;-------------------------------------------------------------------------
; This first example is the definition of the level-change for new users.
; Of course you can place as many definitions in this file as you like.
BEGIN
; a definition starts
FROM New user
; The name of the level before changing it.
TO Normal user
; The name of the level after changing it.
BEFORE
; Under the following conditions the level will be changed:
LEVEL 5
; The user's level must be 5,
FLAG A -------1
; the last A-flag must be set. The other A-flags do not mather.
FLAG B --------
; all B-flags do not mather,
FLAG C --0-----
; the third C-flag may not be set. The other flags do not matter,
FLAG D 0------1
; the first D-flag may not bet set, the last must be set and the other flags
; do not matter.
AFTER
; following are the changes that must be made
LEVEL 10
; The securitylevel must be raised to 10.
FLAG A 1------0
; the first A-flag must be set, the last must be reset. No further changes
; should be made.
FLAG B --------
FLAG C --------
FLAG D --------
; no changes are to be made to the B, C and D-flags.
MESSAGE
; the following text should be the message the user receives when his level
; had been altered.
Welcome, ~firstname~!
You have been registered as a new user. Therefore, your level has been
updated. The only strict rule on this BBS is that you are not allowed
to shout at the sysop. Other rules will be made by me when I need them.
See ya around at this BBS!
Your sysop.
PS. Please, do remember that your password is ~password~.
$END
; end of message.
SUBJECT Welcome!
; the subject of the message being written
END
;-------------------------------------------------------------------------
; The following example is for warning paying members who's paying membership
; is about to expire.
BEGIN
FROM Paying member
TO Warned paying member
BEFORE
LEVEL 500
FLAG A 1-------
; the first A-flag must be set. The other flags do not mather.
HOMEPHONE 14
; there must be two weeks left.
AFTER
; no level changes need be done.
MESSAGE
Dear ~firstname~,
Your membership will expire in two weeks. Make sure to pay $10 within a few
days or your level will be put back.
I hope to see your check soon.
Your sysop.
; of course you may fill in some more userfriendly texts :-)
$END
; end of message.
SUBJECT Membership about to expire
END
;-------------------------------------------------------------------------
; The following example is for changing the level 500 to 10 when a counter
; (in the HomePhone-data field) reaches zero. In this example, 500 means
; the level of a paying member.
BEGIN
FROM Paying member
; The name of the level before changing it.
TO Normal user
; The name of the level after changing it.
BEFORE
; Under the following conditions the level will be changed:
LEVEL 500
; The user's level must be 500,
FLAG A 1-------
FLAG B --------
FLAG C --------
FLAG D --------
; the first A-flag must be set. The other flags do not mather.
HOMEPHONE 0
; the counter in HOMEPHONE must be 0. It's no use using this statement
; if USE HOMEPHONE is not used.
AFTER
; following are the changes that must be made
LEVEL 10
; The securitylevel must be decreased to 10.
FLAG A -0------
; the second A-flag must rest must be reset. No further flag-changes
; should be made.
MESSAGE
; the following text should be the message the user receives when his level
; had been altered.
Dear member,
as the paying-membership-period has expired, your level has been decreased to
10. Prolonging your membership costs only $10 a year.
I hope to see your check soon.
Your sysop.
$END
; end of message.
SUBJECT Membership expired
END
;-------------------------------------------------------------------------
; The following example is useful if you have foolish users who hang up in
; the middle of the program. In this example, no further action will be taken
; but you can of course punish your users by decrementing their level.
; If you want to use this example, you must create two questionnaires.
; The first is LOGON.Q-A which contains:
; SETFLAG D1 ON
; QUIT
; LOGON.Q-A must be executed automatically in your BBS after a user has
; entered. (For example in TOP.MNU).
; The second questionnaire is LOGOFF.Q-A which contains:
; SETFLAG D1 OFF
; QUIT
; LOGOFF.Q-A must be executed automatically at every "legal" exit of your
; BBS (for example BYE.MNU).
; Now D1 will be set if someone simply hung up instead of logging of.
; This will be used to write a message. Note that the user's level is not
; actually changed.
BEGIN
FROM Foolish normal user
; The name of the level before changing it.
TO Warned foolish user
; The name of the level after changing it.
BEFORE
; Under the following conditions the level will be changed:
LEVEL 10
; The user's level must be 10. Not that users with any other level will
; not have a message in this example. (if other users must have a message
; too, comment this statement out).
FLAG D 1-------
; only write message to naughty users.
AFTER
; following are the changes that must be made
FLAG D 0-------
; You don't want to have messages being written every night until the user
; has logged of correctly.
MESSAGE
; the following text should be the message the user receives when his level
; had been altered.
Dear member,
Don't you ever, ever just disconnect again when you are connected to this BBS!
The only legal way to leave this BBS is by using the [!]-key in the mainmenu.
Your sysop.
$END
; end of message.
SUBJECT Logging off
END
;-------------------------------------------------------------------------
; The last example is useful if you want to write a message to all users
; flag C2 is used to determine if a user already got a message.
; By using combinations of flags you can write hundreds of letters.
;
BEGIN
FROM User without C2-letter
; The name of the level before changing it.
TO User with C2-letter
; The name of the level after changing it.
BEFORE
; Under the following conditions the level will be changed:
LEVEL 10
; The user's level must be 10. Paying and new members will not be bothered.
FLAG C -0------
; No message should have been written yet.
AFTER
FLAG C -1------
; You don't want to have more than 1 message written.
MESSAGE
; the following text should be the message the user receives when his level
; had been altered.
Hi,
Do you know that MicroWorks has now a new computer for only $199?
More info in the sponsor-menu!
Your sysop.
$END
; end of message.
SUBJECT Sponsorinformation
END
; End of configuration-file.